﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment.Class
{
    // This class is created to store RFQs as objects in ArrayList before sending as XML file
    class RFQ
    {
        private int rfqNumber;        
        private string rfqDate;        
        private int buyerID;        
        private string notesInstruction;        
       
        
        public RFQ(int rfqNumber, string rfqDate, int buyerID, string notes)
        {
            this.rfqNumber = rfqNumber;
            this.rfqDate = rfqDate;
            this.buyerID = buyerID;    
            this.notesInstruction = notes;            
        }

        public int RFQNumber
        {
            get { return rfqNumber; }
            set { rfqNumber = value; }
        }

        public string RFQDate
        {
            get { return rfqDate; }
            set { rfqDate = value; }
        }

        public int BuyerID
        {
            get { return buyerID; }
            set { buyerID = value; }
        }        

        public string Notes
        {
            get { return notesInstruction; }
            set { notesInstruction = value; }
        }        
    }
}
